Learn R Programming

noia (version 0.97.3)

Genotype-to-Phenotype map: Genotype-to-Phenotype Mapping

Description

The Genotype-to-Phenotype map is a vector providing the estimate of the genotypic value for any multi-locus genotype. The estimates may be computed from linearRegression or multilinearRegression.

Usage

GPmap(obj)

Value

Returns a matrix with two columns: the first one is the estimate of genotypic effects, the second one the standard error of this estimate.

Arguments

obj

An object of class "noia.linear" or "noia.multilinear".

Author

Arnaud Le Rouzic

References

Le Rouzic A, Alvarez-Castro JM. (2008). Estimation of genetic effects and genotype-phenotype maps. Evolutionary Bioinformatics, 4.

See Also

linearRegression, multilinearRegression, genNames.

Examples

Run this code
set.seed(123456789)

map <- c(0.25, -0.75, -0.75, -0.75, 2.25, 2.25, -0.75, 2.25, 2.25)
pop <- simulatePop(map, N=500, sigmaE=0.2, type="F2")

# Regression
linear <- linearRegression(phen=pop$phen, gen=cbind(pop$Loc1, pop$Loc2))

# GP map
GPmap(linear)

Run the code above in your browser using DataLab